package ams.model.dto;

import java.util.ArrayList;
import java.util.List;

public class DataGrid<T> {

	private Long total;
	private List<T> rows = new ArrayList<>();

	public Long getTotal() {
		return total;
	}

	public void setTotal(Long total) {
		this.total = total;
	}

	public List<T> getRows() {
		return rows;
	}

	public void setRows(List<T> rows) {
		this.rows = rows;
	}

	public DataGrid(Long total, List<T> rows) {
		super();
		this.total = total;
		this.rows = rows;
	}

	public DataGrid() {
	}

}
